import http from '@http/http'
// 修改密码
export const modifyPassword = data => http.POST('/modifyPassword', data)
export const selectInBuildingAdjust = data => http.POST('/api/dormitoryAdmin/selectInBuildingAdjust', data)
export const selectAllocationInBuildingAdjust = data => http.POST('/api/dormitoryAdmin/selectAllocationInBuildingAdjust', data)
export const selectOutroomAdjust = data => http.POST('/api/dormitoryAdmin/selectOutroomAdjust', data)
export const confirmAdjust = data => http.POST('/api/dormitoryAdmin/confirmAdjust', data)
export const selectRepair = data => http.POST('/api/dormitoryAdmin/selectRepair', data)
export const getOneRoom = data => http.POST('/api/dormitoryAdmin/getOneRoom', data)
export const getKeepers = () => http.GET('/api/dormitoryAdmin/getKeepers')
export const updateRepair = data => http.POST('/api/dormitoryAdmin/updateRepair', data)
export const selectDoneRepair = data => http.POST('/api/dormitoryAdmin/selectDoneRepair', data)
export const getBuildingName = data => http.POST('/api/dormitoryAdmin/getBuildingName', data)
export const insertActivity = data => http.POST('/api/dormitoryAdmin/insertActivity', data)
export const getAllActivity = data => http.POST('/api/dormitoryAdmin/getAllActivity', data)
export const getOneActivity = data => http.POST('/api/dormitoryAdmin/getOneActivity', data)
export const updateGrade = data => http.POST('/api/dormitoryAdmin/updateGrade', data)
export const updateGradeList = data => http.POST('/api/dormitoryAdmin/updateGradeList', data)
export const getStudent = data => http.POST('/api/dormitoryAdmin/getStudent', data)
export const createdIndiscipline = data => http.POST('/api/dormitoryAdmin/createdIndiscipline', data)
export const getIndiscipline = data => http.POST('/api/dormitoryAdmin/getIndiscipline', data)
export const selectInAllocationAdjust = data => http.POST('/api/dormitoryAdmin/selectInAllocationAdjust', data)
export const selectOutAllocationAdjust = data => http.POST('/api/dormitoryAdmin/selectOutAllocationAdjust', data)
export const getDoneRepair = data => http.POST('/api/dormitoryAdmin/getDoneRepair', data)
export const getRooms = data => http.POST('/api/dormitoryAdmin/getRooms', data)
export const getHygieneByRoom = data => http.POST('/api/dormitoryAdmin/getHygieneByRoom', data)
export const getIndisciplineByStudent = data => http.POST('/api/dormitoryAdmin/getIndisciplineByStudent', data)
export const updateRating = data => http.POST('/api/dormitoryAdmin/updateRating', data)
export const getRating = data => http.POST('/api/dormitoryAdmin/getRating', data)
